Skip to content

Fix code export import paths for toolbox blocks#268

Merged
milanofthe merged 1 commit intomainfrom
fix/toolbox-import-paths
Mar 8, 2026
Merged

Fix code export import paths for toolbox blocks#268
milanofthe merged 1 commit intomainfrom
fix/toolbox-import-paths

Conversation

@milanofthe
Copy link
Member

@milanofthe milanofthe commented Mar 8, 2026

  • Code preview headers (block code export) hardcoded from pathsim.blocks import ... for all blocks
  • Toolbox blocks (e.g. pathsim-chem) now correctly use their registered import path (e.g. from pathsim_chem import PointKinetics)
  • Also fixes subsystem code export to group imports by import path

@milanofthe milanofthe merged commit 84d6db0 into main Mar 8, 2026
4 checks passed
@milanofthe milanofthe deleted the fix/toolbox-import-paths branch March 8, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant